package com.sptpc.demo1.service;

import com.sptpc.demo1.model.Drink;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface IDrinkService {
    List<Drink>getAllDrinks(PageRequest pageRequest);
    void addnewDrink(Drink drink,Integer CategoryId);
    Drink getDrinkById(Integer id);
    void updateDrink(Drink drink);
    void deleteDrinkById(Integer id);
}